//
//  WebViewController.m
//  ActiveDeck
//
//  Created by Michael Cohen on 2/24/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "WebViewController.h"

@implementation WebViewController

@synthesize webView, url, urlAddress;

-(id)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    
    if(self){
        [[NSBundle mainBundle] loadNibNamed:@"WebViewController" owner:self options:nil];
        
        webView.delegate = self;
        [self setUserInteractionEnabled:YES];
        webView.scalesPageToFit = YES;
        [webView sizeThatFits:frame.size];
        
        [webView becomeFirstResponder];
        
        [self addSubview:webView];
        
        
    }
    
    return self;
}



@end
